﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls.Primitives;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace SDB
{
    public class TabHeader: ToggleButton
    {
        public static readonly DependencyProperty TabHeaderImageProperty = DependencyProperty.Register("TabHeaderImage", typeof(ImageSource), typeof(TabHeader));
        public static readonly DependencyProperty TabHeaderTextProperty = DependencyProperty.Register("TabHeaderText", typeof(string), typeof(TabHeader));

        public TabHeader()
            : base()
        {

        }

        public ImageSource TabHeaderImage
        {
            get { return (ImageSource)GetValue(TabHeaderImageProperty); }
            set { SetValue(TabHeaderImageProperty, value); }
        }

        public string TabHeaderText
        {
            get { return (string)GetValue(TabHeaderTextProperty); }
            set { SetValue(TabHeaderTextProperty, value); }
        }
    }
}
